package com.ysd.twocrm.controller;

import com.ysd.twocrm.mapper.IconMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/icon")
public class IconController {
    @Autowired
    private IconMapper iconMapper;

   @GetMapping
    public Object getAllIcon(){
       return iconMapper.selectList(null);
    }
}
